package ua.amsoft.brelok.dto;

import java.util.Date;
import java.util.List;

import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

/**
 * @author Tair Mustafaiev
 */
@Root(name = "ArrayOfGetCardHistoryResult")
public class CardHistoryReports {
    
    @ElementList(name = "GetCardHistoryResult", inline = true)
    private List<CardHistoryReport> cardHistoryReports;
    
    private Date updatedDate;
    
    /**
     * Returns card history reports
     * 
     * @return {@link List} of {@link CardHistoryReport}
     */
    public List<CardHistoryReport> getCardHistoryReports() {
        return this.cardHistoryReports;
    }
    
    /**
     * @param cardHistoryReportList {@link List} of {@link CardHistoryReport}
     */
    public void setCardHistoryReports(final List<CardHistoryReport> cardHistoryReportList) {
        this.cardHistoryReports = cardHistoryReportList;
    }
    
    /**
     * Returns updated date
     * 
     * @return {@link Date}
     */
    public Date getUpdatedDate() {
        return this.updatedDate;
    }
    
    /**
     * @param date {@link Date}
     */
    public void setUpdatedDate(final Date date) {
        this.updatedDate = date;
    }
}
